package com.dst.service;

import com.dst.eneity.Phone;

import java.util.List;

public interface PhoneService {
    List<Phone> selectAllPhoneService();
    void deletePhoneById(int id);
    void addPhoneService(Phone phone);
    Phone selectPhoneServiceById(int id);
    void updatePhoneService(int id,Phone phone);
    void batchDeleteService(int [] ids);
    List<Phone> selectLimitPhoneService(int begin,int end);
    List<Phone> select(int bid);
    List<Phone> selectPage(int start,int pageSize);
    int selectCount();
}
